<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //Set结构的实例与数组一样，也用于forEach方法，用于对每个成员执行某一个操作，没有返回值
        const s = new Set(['a','b','c']);
        s.forEach(value =>console.log(value));
    </script>
</body>
</html>